﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
    xmlns:mt="clr-namespace:DeepEarth.Toolkit.Controls"
    xmlns:measure="clr-namespace:DeepEarth.Toolkit.Controls.Measure"
    >
    <Style TargetType="mt:MeasureToolControlPanel">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="mt:MeasureToolControlPanel">
                    <Grid x:Name="LayoutRoot">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition></ColumnDefinition>
                            <ColumnDefinition></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        
                        <Button Grid.Column="0" x:Name="PART_Clear" Content="Clear" Command="{Binding ClearCommand, RelativeSource={RelativeSource TemplatedParent}}"></Button>
                        <Button Grid.Column="1" x:Name="PART_Resume" Content="Resume" Command="{Binding ResumeCommand, RelativeSource={RelativeSource TemplatedParent}}"></Button>
                        
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>

